<div id="update_fetion">
  
</div>
<script type="text/javascript" charset="utf-8">
  <%= normal_loading 'update_fetion', :width => '500px', :height => '151px' %>
  if(confirm('请根据您的飞信消息(假如已经登录)或手机短信提示，同意加【<%= current_user.fetion.name %>-<%= current_user.fetion.mobile %>】为好友，操作完成了吗？')) {
  <%= remote_function :update => 'fetion',
        :url => show_fetion_user_url(current_user),
        :method => :get %>
  } else {
  <%= remote_function :update => 'fetion',
        :url => edit_fetion_user_url(current_user),
        :method => :get %>
  }
</script>
  